import request from "@/base/request";

const checkLogin=async ()=>{
    // if(!localStorage.getItem('token')){
    //     return false;
    // }

    const response = (await request.get("/user/userBaseInfo/checkLogin")).data
    if(response.code!=200){
        return false;
    }
    return response.data;
}


export default checkLogin